/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package fiad.gui.events;

import fiad.gui.panels.ZeugnisPanel;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;

/**
 *
 * @author MJ
 */
public class ZeugnisPanelListener implements ActionListener {

    ZeugnisPanel zp;

    public ZeugnisPanelListener(ZeugnisPanel zp) {
        this.zp = zp;
    }

    public void actionPerformed(ActionEvent e) {

        zp.aendereModus(e.getActionCommand());
    }
}
